
<%@page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <link href="../../css/bootstrap.min.css" rel="stylesheet">
    <link href="../../css/bootstrap-theme.min.css" rel="stylesheet">
    <link href="../../css/bootstrap.css" rel="stylesheet">
    <link href="../../css/bootstrap-theme.css" rel="stylesheet">
</head>
<body>
<h4 align="center" class="navbar-text">查询结果</h4>
    <table class="table table-bordered table-responsive">

        <c:if test="${empty REQUEST_DTOMODEL}">
            没有合适的数据
        </c:if>
        <c:if test="${ not empty REQUEST_DTOMODEL}">
            <tr>
                <th>车次</th>
                <th>出发地</th>
                <th>目的地</th>
                <th>硬座价格</th>
            </tr>
               <tr >
                   <td>${REQUEST_DTOMODEL.trainNum}</td>
                   <td>${REQUEST_DTOMODEL.stationName1}</td>
                   <td>${REQUEST_DTOMODEL.stationName2}</td>
                   <td>${REQUEST_DTOMODEL.sitePrice}</td>
               </tr>
        </c:if>
    </table>
</body>
</html>
